﻿
using System.Collections;
using System.Collections.Generic;
using MTC.Common.DTO;
using MTC.Web.Business.DTO;

namespace MTC.Web.Business
{
    public static class DropDowns
    {
        public static List<Common.DTO.PlateType> GetPlateTypes()
        {
            return PlateType.GetPlateTypes();
        }
        public static List<Common.DTO.Plate> GetPlates()
        {
            return MTC.Business.Plate.Plate.GetPlates();
        }
        public static List<Common.DTO.Vehicle> GetVehicles()
        {
            return MTC.Business.Vehicle.Vehicle.GetVehicles();
        }
        public static List<Common.DTO.Driver> GetDrivers()
        {
            Common.DTO.Driver driver = new Driver();
            List<Common.DTO.Driver> drivers = MTC.Business.Driver.Driver.GetDrivers();
            driver.DriverId = 0;
            driver.FirstName = "";
            driver.LastName = "";
            drivers.Add(driver);
            return drivers;
        }
        public static List<Common.DTO.Owner> GetOwners()
        {
            Common.DTO.Owner owner = new Owner();
            List<Common.DTO.Owner> owners = MTC.Business.Owner.Owner.GetOwners();
            owner.OwnerId = 0;
            owner.FirstName = "";
            owner.LastName = "";
            owners.Add(owner);
            return owners;
        }
        public static List<Common.DTO.Taxi> GetTaxis()
        {
            List<Common.DTO.Taxi> taxis = MTC.Business.Taxi.Taxi.GetTaxis();
            return taxis;
        }

    }

}
